package cn.wh.xwm.hibernate.dao;

import java.util.Date;

/**
 * SalesLiquid entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class SalesLiquid implements java.io.Serializable {

	// Fields

	private String id;
	private Customerinfo customerinfoByCustomerIdTo;
	private Productinfo productinfo;
	private Customerinfo customerinfoByCustomerIdFrom;
	private Date eventDate;
	private Integer inOrOut;
	private Integer amount;
	private String patchNumber;
	private String userId;

	// Constructors

	/** default constructor */
	public SalesLiquid() {
	}

	/** full constructor */
	public SalesLiquid(Customerinfo customerinfoByCustomerIdTo,
			Productinfo productinfo, Customerinfo customerinfoByCustomerIdFrom,
			Date eventDate, Integer inOrOut, Integer amount,
			String patchNumber, String userId) {
		this.customerinfoByCustomerIdTo = customerinfoByCustomerIdTo;
		this.productinfo = productinfo;
		this.customerinfoByCustomerIdFrom = customerinfoByCustomerIdFrom;
		this.eventDate = eventDate;
		this.inOrOut = inOrOut;
		this.amount = amount;
		this.patchNumber = patchNumber;
		this.userId = userId;
	}

	// Property accessors

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Customerinfo getCustomerinfoByCustomerIdTo() {
		return this.customerinfoByCustomerIdTo;
	}

	public void setCustomerinfoByCustomerIdTo(
			Customerinfo customerinfoByCustomerIdTo) {
		this.customerinfoByCustomerIdTo = customerinfoByCustomerIdTo;
	}

	public Productinfo getProductinfo() {
		return this.productinfo;
	}

	public void setProductinfo(Productinfo productinfo) {
		this.productinfo = productinfo;
	}

	public Customerinfo getCustomerinfoByCustomerIdFrom() {
		return this.customerinfoByCustomerIdFrom;
	}

	public void setCustomerinfoByCustomerIdFrom(
			Customerinfo customerinfoByCustomerIdFrom) {
		this.customerinfoByCustomerIdFrom = customerinfoByCustomerIdFrom;
	}

	public Date getEventDate() {
		return this.eventDate;
	}

	public void setEventDate(Date eventDate) {
		this.eventDate = eventDate;
	}

	public Integer getInOrOut() {
		return this.inOrOut;
	}

	public void setInOrOut(Integer inOrOut) {
		this.inOrOut = inOrOut;
	}

	public Integer getAmount() {
		return this.amount;
	}

	public void setAmount(Integer amount) {
		this.amount = amount;
	}

	public String getPatchNumber() {
		return this.patchNumber;
	}

	public void setPatchNumber(String patchNumber) {
		this.patchNumber = patchNumber;
	}

	public String getUserId() {
		return this.userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

}